<!-- HTML header for doxygen 1.8.3.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="icon" type="image/vnd.microsoft.icon" href="http://www.gstatic.com/codesite/ph/images/phosting.ico">
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>KeyCpp -- A MATLAB-like library for C++: keycpp::vector_k&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-42949208-1']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">KeyCpp -- A MATLAB-like library for C++
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacekeycpp.html">keycpp</a></li><li class="navelem"><a class="el" href="classkeycpp_1_1vector__k.html">vector_k</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classkeycpp_1_1vector__k-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">keycpp::vector_k&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a0c53a4d249da380a1eec01c56176de9c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c53a4d249da380a1eec01c56176de9c"></a>
typedef <a class="el" href="classkeycpp_1_1_pointer_iterator.html">PointerIterator</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>iterator</b></td></tr>
<tr class="separator:a0c53a4d249da380a1eec01c56176de9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f0415773f7c1b1cac7699d141ed1d3b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f0415773f7c1b1cac7699d141ed1d3b"></a>
typedef <a class="el" href="classkeycpp_1_1_pointer_iterator.html">PointerIterator</a>&lt; const T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>const_iterator</b></td></tr>
<tr class="separator:a7f0415773f7c1b1cac7699d141ed1d3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66a8ed8296d754341cedd8b242fc980a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a66a8ed8296d754341cedd8b242fc980a"></a>
typedef size_t&#160;</td><td class="memItemRight" valign="bottom"><b>size_type</b></td></tr>
<tr class="separator:a66a8ed8296d754341cedd8b242fc980a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc7ae2bed19ed75dccc2f0aa57af689e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc7ae2bed19ed75dccc2f0aa57af689e"></a>
typedef T&#160;</td><td class="memItemRight" valign="bottom"><b>value_type</b></td></tr>
<tr class="separator:abc7ae2bed19ed75dccc2f0aa57af689e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae155cf6b11b7c611b461db5b8b5bee2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae155cf6b11b7c611b461db5b8b5bee2"></a>
typedef iterator::difference_type&#160;</td><td class="memItemRight" valign="bottom"><b>difference_type</b></td></tr>
<tr class="separator:aae155cf6b11b7c611b461db5b8b5bee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1f65dfce13d605312c497195081b71fa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f65dfce13d605312c497195081b71fa"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>vector_k</b> (size_t size, const T &amp;initial)</td></tr>
<tr class="separator:a1f65dfce13d605312c497195081b71fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6902434fbd3b5ebbbedc1b068c3df3ec"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6902434fbd3b5ebbbedc1b068c3df3ec"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>vector_k</b> (T *ptr, size_t size, size_t pinc)</td></tr>
<tr class="separator:a6902434fbd3b5ebbbedc1b068c3df3ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b6df14409684df91f883c3bb33204f5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b6df14409684df91f883c3bb33204f5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>vector_k</b> (const std::initializer_list&lt; T &gt; &amp;lst)</td></tr>
<tr class="separator:a5b6df14409684df91f883c3bb33204f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a694c6c797022382b57e2d51350e39afc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a694c6c797022382b57e2d51350e39afc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>vector_k</b> (const <a class="el" href="classkeycpp_1_1vector__k.html">vector_k</a>&lt; T &gt; &amp;v)</td></tr>
<tr class="separator:a694c6c797022382b57e2d51350e39afc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e130370253f66d9968c35d41228bef4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e130370253f66d9968c35d41228bef4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>vector_k</b> (const std::vector&lt; T &gt; &amp;v)</td></tr>
<tr class="separator:a5e130370253f66d9968c35d41228bef4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a651efbae7ea28e3e4cc3a07375a8de72"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a651efbae7ea28e3e4cc3a07375a8de72"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>capacity</b> () const </td></tr>
<tr class="separator:a651efbae7ea28e3e4cc3a07375a8de72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a829c7caf8f696e161375d18b715c918a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a829c7caf8f696e161375d18b715c918a"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> () const </td></tr>
<tr class="separator:a829c7caf8f696e161375d18b715c918a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbba6e3a7e0dc425a78645f78417c62c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abbba6e3a7e0dc425a78645f78417c62c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>empty</b> () const </td></tr>
<tr class="separator:abbba6e3a7e0dc425a78645f78417c62c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57ec9796301fc1db249c531cbcb02b86"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57ec9796301fc1db249c531cbcb02b86"></a>
<a class="el" href="classkeycpp_1_1_pointer_iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>begin</b> ()</td></tr>
<tr class="separator:a57ec9796301fc1db249c531cbcb02b86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0768d945f869ec2bae8042952ef70c3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0768d945f869ec2bae8042952ef70c3"></a>
<a class="el" href="classkeycpp_1_1_pointer_iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>end</b> ()</td></tr>
<tr class="separator:ad0768d945f869ec2bae8042952ef70c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a0b078263c4dee69535701358c62b4a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a0b078263c4dee69535701358c62b4a"></a>
<a class="el" href="classkeycpp_1_1_pointer_iterator.html">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>begin</b> () const </td></tr>
<tr class="separator:a4a0b078263c4dee69535701358c62b4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9453d606e3e95d4fa81e9287fc3914d3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9453d606e3e95d4fa81e9287fc3914d3"></a>
<a class="el" href="classkeycpp_1_1_pointer_iterator.html">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>end</b> () const </td></tr>
<tr class="separator:a9453d606e3e95d4fa81e9287fc3914d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac59a48a400d54bc34eb3355a0692a2f8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac59a48a400d54bc34eb3355a0692a2f8"></a>
T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>front</b> ()</td></tr>
<tr class="separator:ac59a48a400d54bc34eb3355a0692a2f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07dff703d64e581533d2e5513a609577"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07dff703d64e581533d2e5513a609577"></a>
T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>back</b> ()</td></tr>
<tr class="separator:a07dff703d64e581533d2e5513a609577"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3672772db9bc7c4190c3b9c10b2d8e22"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3672772db9bc7c4190c3b9c10b2d8e22"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>push_back</b> (const T &amp;value)</td></tr>
<tr class="separator:a3672772db9bc7c4190c3b9c10b2d8e22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3194498720cf8e14d33af58b82c70634"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3194498720cf8e14d33af58b82c70634"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>pop_back</b> ()</td></tr>
<tr class="separator:a3194498720cf8e14d33af58b82c70634"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecd33f4505867fed1e49dbe3f9470117"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aecd33f4505867fed1e49dbe3f9470117"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>reserve</b> (size_t capacity)</td></tr>
<tr class="separator:aecd33f4505867fed1e49dbe3f9470117"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a024e493fa716327aa16b2ba59771fce1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a024e493fa716327aa16b2ba59771fce1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>resize</b> (size_t size)</td></tr>
<tr class="separator:a024e493fa716327aa16b2ba59771fce1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7bae542df2d3ceeab63ab137a52df94"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa7bae542df2d3ceeab63ab137a52df94"></a>
T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (const size_t index)</td></tr>
<tr class="separator:aa7bae542df2d3ceeab63ab137a52df94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9fc299b3eecce09bb7166954acf7b16"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9fc299b3eecce09bb7166954acf7b16"></a>
const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (const size_t index) const </td></tr>
<tr class="separator:af9fc299b3eecce09bb7166954acf7b16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2030403334539d7df1001e8b9037fa9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2030403334539d7df1001e8b9037fa9"></a>
<a class="el" href="classkeycpp_1_1vector__k.html">vector_k</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classkeycpp_1_1vector__k.html">vector_k</a>&lt; T &gt; &amp;v)</td></tr>
<tr class="separator:ab2030403334539d7df1001e8b9037fa9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a318832966719bc35aa0147ec2aeabb6f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a318832966719bc35aa0147ec2aeabb6f"></a>
<a class="el" href="classkeycpp_1_1vector__k.html">vector_k</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const std::vector&lt; T &gt; &amp;v)</td></tr>
<tr class="separator:a318832966719bc35aa0147ec2aeabb6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a926f7d20093e3b36e92f10aaeea1e909"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a926f7d20093e3b36e92f10aaeea1e909"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr>
<tr class="separator:a926f7d20093e3b36e92f10aaeea1e909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54ffbb92ed1926e6066d26db886b4132"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54ffbb92ed1926e6066d26db886b4132"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>operator std::vector&lt; T &gt;</b> ()</td></tr>
<tr class="separator:a54ffbb92ed1926e6066d26db886b4132"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e0395cff74a011d44bd28db47f46f50"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e0395cff74a011d44bd28db47f46f50"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>operator matrix&lt; T, 2 &gt;</b> ()</td></tr>
<tr class="separator:a0e0395cff74a011d44bd28db47f46f50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09f9ee871078a9f6602d564088a0e2ac"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a09f9ee871078a9f6602d564088a0e2ac"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>get_inc</b> () const </td></tr>
<tr class="separator:a09f9ee871078a9f6602d564088a0e2ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="vector__k_8h_source.html">vector_k.h</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.3.1-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 2 2014 15:59:17 for KeyCpp -- A MATLAB-like library for C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
